<?php
namespace front\controller;



use biu\controller\WebController;
use biu\lib\Log;
use Curl\Curl;

class IndexController extends WebController
{
    public function actionIndex(){
        Log::err('index');
        debug_print_backtrace();
    }

    public function actionTest0(){
        $curl = new Curl();
        $headers = $curl->get('http://www.baidu.com')->response_headers;
        #print_r($headers);
        Log::info($headers);
    }
    public function actionLog(){
        echo 'a';
    }
    public function actionTest2(){
        echo 'a';
    }

    public function actionTest3(){
        echo 'a';
    }

    public function actionTest4(){
        echo 'a';
    }


}